package cn.wolfcode.luowowo.search.query;

import cn.wolfcode.luowowo.common.query.QueryObject;
import lombok.Getter;
import lombok.Setter;

@Setter
@Getter
public class StrategySearchQuery extends QueryObject {
    public static final int CONDITION_TYPE_COUNTRY = 0;
    public static final int CONDITION_TYPE_PROVINCE = 1;
    public static final int CONDITION_TYPE_THEME = 2;
    private String orderBy;
    private Integer type = -1;
    private Integer typeValue = -1;

    public Integer getType(){
        if(type == null){
            return -1;
        }
        return type;
    }
    public Integer getTypeValue(){
        if(typeValue == null){
            return -1;
        }
        return typeValue;
    }
}
